package com.itheima;

import com.itheima.reggie.util.SMSUtils;
import com.itheima.reggie.util.ValidateCodeUtils;

public class Test {
    public static void main(String[] args) {
        String phone="15706193746";
        String code = ValidateCodeUtils.generateValidateCode4String(4);
        System.out.println(code);
        SMSUtils.sendMessage(
               "阿里云短信测试",//短信签名
               "SMS_154950909",//短信模板
               phone,//手机号码
               "5200"//验证码
        );
    }
}
